package java_design_model.com.Bridge.Strategy;

public class m {
    //传入an,使用an的方法。
    public static void main(String[] args) {
        C aaa=new AAA(new aa());
        aaa.show();
        aaa=new AAA(new bb());
        aaa.show();
    }
}
